import request from '@/untils/request'

export const addArticleAPI = fd => {
  // return request.post('/my/article/add', fd)
  return request({
    method: 'POST',
    url: '/my/article/add',
    data: fd
  })
}
// 获取文章列表数据
export const getArticleAPI = params => {
  return request({
    method: 'GET',
    url: '/my/article/list',
    params: params
  })
}
